home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / magic_eg.swf / scripts / DefineButton2_64 / BUTTONCONDACTION on(release, keyPress Enter).as
Encoding:
Text File  |  2011-06-09  |  339 b   |  17 lines

  1. on(release, keyPress "<Enter>"){
  2.    set("/:gameover","0");
  3.    set("/mainloop:state","0");
  4.    set("/:score","0");
  5.    tellTarget("/pikachu")
  6.    {
  7.       gotoAndStop("comein");
  8.       play();
  9.    }
  10.    call("/mainloop:nextstate");
  11.    setProperty("/login", _Y, "500");
  12.    tellTarget("/ballcount")
  13.    {
  14.       gotoAndStop(1);
  15.    }
  16. }
  17.